package com.example.tool.erp.sdk.api.purchasereturn.dto;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class PurchaseReturnPendingResponse
{
	@SerializedName("error_info") private List<ErrorInfo> errorInfoList;
	@SerializedName("status") private Integer status;

	public List<ErrorInfo> getErrorInfoList()
	{
		return errorInfoList;
	}

	public void setErrorInfoList(List<ErrorInfo> errorInfoList)
	{
		this.errorInfoList = errorInfoList;
	}

	public Integer getStatus()
	{
		return status;
	}

	public void setStatus(Integer status)
	{
		this.status = status;
	}

	public static class ErrorInfo
	{
		@SerializedName("order_no") private String orderNo;
		@SerializedName("message") private String message;

		public String getOrderNo()
		{
			return orderNo;
		}

		public void setOrderNo(String orderNo)
		{
			this.orderNo = orderNo;
		}

		public String getMessage()
		{
			return message;
		}

		public void setMessage(String message)
		{
			this.message = message;
		}
	}
}
